package cn.zero.flowspringbootstater.modular.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * author: lei
 * 流程审批数据层传输实体
 * date:2022/6/17 15:38
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class FlowApprovalDto extends Additional implements Serializable {

    private static final long serialVersionUID = 9527L;


    /**
     * 审批流程id
     */
    @NotNull(message = "流程id不能为空")
    private Long flowId;
    /**
     * 审批人id
     */
    @NotNull(message = "审批人不能为空")
    private String userId;

    /**
     * 审批附件名称
     */
    private String annexName;

    /**
     * 审批附件路径
     */
    private String annexUrl;

    /**
     * 审批意见
     */
    private String auditInfo;


    /**
     * 审批结果  1：通过 ;0不通过
     */
    @NotBlank(message = "审批结果不能为空")
    private String flowStatus;



}
